import com.hellohoper.script.config.engine.run.bean.RunnerParam

def dispatch(RunnerParam request) {
    def result = [:]
    //1、check：检查参数
    String ck = check.call(request)
    if (ck != null) {
        result.put("checkError", ck)
    } else {
        //2、handle：处理请求
        result = handle.call(request)
    }
    //3、组装返回map
    return result
}



